export default {
  data() {
    return {
      cardNumber: '6222024402032011250', //银行卡卡号
    }
  },
  onLoad() {},
  methods: {
    //判断身份证上传接口
    async AddPersonalData() {
      if (this.cardNumber === '') {
        this.$refs.uToast.show({
          title: '请选择婚姻状态',
          type: 'warning',
          url: '/pages/user/index'
        })
        return
      }
      try {
        const res = await this.$api.commodity.AddPersonalData({
          Id: this.cardid, //购车订单外键Id
        })
        if (res.code === 200) {
          this.success = true
        }

      } catch (err) {}
    },
    //清除卡号
    deletecardn() {
      this.cardNumber = ''
    },
    //选择配置，输入
    InputChildItem: function(e) {
      console.log(1, e) //输入值
    },
  }
}
